Skip to content

SAK-51274 Portal fix keyboard nav inside portal-main-content #13562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 8, 2025

Conversation

ottenhoff
Copy link
Contributor

No description provided.

@@ -28,8 +28,8 @@
#else
#set( $numberTools = $pageColumn0Tools.size() )
#end
<div class="portal-main-container container-fluid pt-4 d-flex flex-column">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d-flex was added in SAK-50454 Polls improve voting ui responsiveness (#12856)

@SedueRey
Copy link
Contributor

SedueRey commented Apr 7, 2025

Great, thank you!!

@ottenhoff
Copy link
Contributor Author

You're welcome, but I know very little about CSS grid systems. You likely know far more than I do so can help figure out what's going on here.

@SedueRey
Copy link
Contributor

SedueRey commented Apr 7, 2025

I'll apply tomorrow morning in our QA server and I'll tell you what I see

@SedueRey
Copy link
Contributor

SedueRey commented Apr 8, 2025

Hi,

@jorgecanovas and I have been testing the changes and the only thing is that you need to have the grid area active (filling a form or clicking on the tool) for the keys to work, just like if you have the menu active it works for the menu, so I see it fine.

We can discuss, later, if we remove the CSS Grid and leave it as a block, but, if it was since 23 and nobody has complained about this issue, I think this solution is great and fixes the main problem.

LGTM

@ottenhoff
Copy link
Contributor Author

@jorgecanovas and I have been testing the changes and the only thing is that you need to have the grid area active (filling a form or clicking on the tool) for the keys to work, just like if you have the menu active it works for the menu, so I see it fine.

Right, you have to be working inside that area for the scroll to work. That seems correct to me.

We can discuss, later, if we remove the CSS Grid and leave it as a block, but, if it was since 23 and nobody has complained about this issue, I think this solution is great and fixes the main problem.

I don't have an allegiance to CSS Grids, but the entire Trinity portal seems dependent on the grid. I'm not sure what it would take, but it sounds like a big project.

@SedueRey
Copy link
Contributor

SedueRey commented Apr 8, 2025

Yes, too big :D

@ottenhoff ottenhoff merged commit 685dab4 into sakaiproject:master Apr 8, 2025
5 checks passed
ern pushed a commit that referenced this pull request Apr 10, 2025
ern pushed a commit that referenced this pull request Apr 10, 2025
(cherry picked from commit 685dab4)

 Conflicts:
	portal/portal-render-engine-impl/impl/src/webapp/vm/morpheus/includePage.vm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants